<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
?>
<!DOCTYPE html>
<html lang="en" class="pixel-ratio-1 watch-active-state">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>错误拦截！</title>
<style>
.success {position: absolute;top:38pt;}
.my-note {display: block;position: absolute;top: 35%;font-size: 14pt;vertical-align:middle;width: 100%;text-align:center;}
.my-loop {display: block;margin: 0 auto;position: absolute;float: center;top: 42%;font-size: 6pt;color: #666666;text-align:center;width: 100%;vertical-align:middle;}
h1{font-size:32px; line-height: 48px;text-align:left;}
</style>
</head>

<body>
<div>
	<?php 
		if(isset($e['file'])) {
			echo "<div class='my-note' style='top:0%;'>";
			echo "<h1>".strip_tags($e['message'])."</h1>";
			echo "<p style='text-align:left;'>错误位置:<br>{$e['file']} &#12288;LINE: {$e['line']}</p>";
			echo "</div>";
		}else{
			echo "<div class='success'><img src='/Public/Tpl/88@2x.png' width='100%' height='100%'></div>";
			echo "<div class='my-note'>";
			echo "<p>".strip_tags($e['message'])."</p>";
			echo "</div>";
			echo "<div class='my-loop'><p class='jump'>点击 <a href='/'>返回首页</a> </p></div>";
		}
	?>
</div>


</body>
</html>